package com.zhz.thymeleafmp.service;

import com.zhz.thymeleafmp.entity.User;

import java.util.List;

public interface UserService {

    public User login(String name, String password);

    public List<User> getUserList();

    public boolean addUser(User user);

    public boolean modify(User user);

    public boolean delete(Long id);

    public User getUser(Long id);
}
